package com.sudo.api;

import com.sudo.starter.cors.annotation.EnableFxwCors;
import com.sudo.starter.ratelimit.annotation.EnableFxwLimiter;
import com.sudo.starter.threadpool.annotation.EnableFxwThPool;
import com.sudo.starter.xss.annotation.EnableFxwXss;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @author 为道日损
 * webSite：https://wwww.sudo.ren
 */
@EnableFxwCors
@EnableFxwXss
@EnableFxwLimiter(limited = false)
@EnableFxwThPool
@SpringBootApplication(scanBasePackages={"com.sudo.common.component","com.sudo.service", "com.sudo.api"})
@MapperScan(basePackages = {"com.sudo.dao.admin.mapper"})
public class FxwJobApplication {
    public static void main(String[] args) {
        SpringApplication.run(FxwJobApplication.class, args);
    }
}
